package artid.com.arttogo.bean;

import java.io.Serializable;
import org.json.JSONObject;

/**
 * 艺术商城实体类+解析
 */
public class GoodsList extends AppItem implements Serializable {
    String goods_id;
    String goods_name;
    String realname;
    String goods_image;
    String goods_price;
    String gc_name;
    String goods_size;
    String artistimg;
    String goods_addtime;
    String goods_commend_num;
    String is_auth;
    String is_like;
    String goods_storage;
    String width;
    String artist_id;
    int height;

    @Override
    public void parse(JSONObject obj) {
        if (null == obj) {
            return;
        }
        goods_id = obj.optString("goods_id");
        goods_name = obj.optString("goods_name");
        realname = obj.optString("realname");
        goods_image = obj.optString("goods_image");
        goods_price = obj.optString("goods_price");
        gc_name = obj.optString("gc_name");
        goods_size = obj.optString("goods_size");
        artistimg = obj.optString("artistimg");
        goods_addtime = obj.optString("goods_addtime");
        goods_commend_num = obj.optString("goods_commend_num");
        is_auth = obj.optString("is_auth");
        is_like = obj.optString("is_like");
        goods_storage = obj.optString("goods_storage");
        width = obj.optString("width");
        artist_id = obj.optString("artist_id");
        height = obj.optInt("height");
    }



    public int getHeight() {
        return height;
    }



    public void setHeight(int height) {
        this.height = height;
    }



    public String getArtist_id() {
        return artist_id;
    }



    public void setArtist_id(String artist_id) {
        this.artist_id = artist_id;
    }



    public String getGoods_id() {
        return goods_id;
    }


    public void setGoods_id(String goods_id) {
        this.goods_id = goods_id;
    }


    public String getGoods_name() {
        return goods_name;
    }


    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }


    public String getRealname() {
        return realname;
    }


    public void setRealname(String realname) {
        this.realname = realname;
    }


    public String getGoods_image() {
        return goods_image;
    }


    public void setGoods_image(String goods_image) {
        this.goods_image = goods_image;
    }


    public String getGoods_price() {
        return goods_price;
    }


    public void setGoods_price(String goods_price) {
        this.goods_price = goods_price;
    }


    public String getGc_name() {
        return gc_name;
    }


    public void setGc_name(String gc_name) {
        this.gc_name = gc_name;
    }


    public String getGoods_size() {
        return goods_size;
    }


    public void setGoods_size(String goods_size) {
        this.goods_size = goods_size;
    }


    public String getArtistimg() {
        return artistimg;
    }


    public void setArtistimg(String artistimg) {
        this.artistimg = artistimg;
    }


    public String getGoods_addtime() {
        return goods_addtime;
    }


    public void setGoods_addtime(String goods_addtime) {
        this.goods_addtime = goods_addtime;
    }


    public String getGoods_commend_num() {
        return goods_commend_num;
    }


    public void setGoods_commend_num(String goods_commend_num) {
        this.goods_commend_num = goods_commend_num;
    }


    public String getIs_auth() {
        return is_auth;
    }


    public void setIs_auth(String is_auth) {
        this.is_auth = is_auth;
    }


    public String getIs_like() {
        return is_like;
    }


    public void setIs_like(String is_like) {
        this.is_like = is_like;
    }


    public String getGoods_storage() {
        return goods_storage;
    }


    public void setGoods_storage(String goods_storage) {
        this.goods_storage = goods_storage;
    }


    public String getWidth() {
        return width;
    }


    public void setWidth(String width) {
        this.width = width;
    }





}
